package com.sunny.fetch.mapper;

import com.sunny.fetch.pojo.FMarginDetail;
import com.sunny.fetch.pojo.FMarginDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.additional.insert.InsertListMapper;
import tk.mybatis.mapper.common.Mapper;

public interface FMarginDetailMapper extends Mapper<FMarginDetail>, InsertListMapper<FMarginDetail> {
    long countByExample(FMarginDetailExample example);

    int deleteByExample(FMarginDetailExample example);

    List<FMarginDetail> selectByExample(FMarginDetailExample example);

    int updateByExampleSelective(@Param("record") FMarginDetail record, @Param("example") FMarginDetailExample example);

    int updateByExample(@Param("record") FMarginDetail record, @Param("example") FMarginDetailExample example);
}